<?php

interface Application_Model_dataDAOInf_TaiKhoanDAOInf {
	
	public function insertTaiKhoa($taikhoan);//input TaiKhoan,output boolean
	
	public function editTaiKhoan($taikhoan);//input TaiKhoan,output boolean
	
	public function removeTaiKhoan($id);//input $id,output boolean
	
	public function searchTaiKhoan($id);//input $id,output TaiKhoan
	
	public function activeTaiKhoan($id);//input $id,output boolean
	
	public function login($username,$password);//input $username,password,output $id
	
	public function checkQuyen($id,$maquyen);//input $maquyen,output boolean

	public function getAllTaiKhoan($active);

	public function getQuyen($id);
	
	public function ganQuyen($id,$array);

	public function searchbyusername($username);
	
	public function searchbyten($ten);

	public function searchhightlevel($array);
		
	public function checkAdmin($id);

}	

?>